package com.ele.dao;

import com.ele.pojo.Employee;

import java.sql.SQLException;
import java.util.List;

public interface EmployeeDao {
        public List<Employee> findAll() throws SQLException;
        public List<Employee> findEmps(String account,String nickname,String telephone) throws Exception;
        public Integer updateEmp(Employee employee) throws Exception;
        public Integer deleteEmpById(String id) throws Exception;
        public Integer addEmp(Employee employee) throws Exception;
        Employee empLogin(String account,String password) throws Exception;

}
